import { http } from '../https'

//伤票列表分页
export function woundedListPage(data: AnyObject) {
  return http({ url: '/api/etag/page', data })
}
//查询伤票及相关信息
export function woundedFind(data: AnyObject) {
  return http({ url: '/api/etag/find', data })
}
//修改伤票
export function woundedEdit(data: AnyObject) {
  return http({ url: '/api/etag/update', data })
}
//后送确认
export function woundedAfter(data: AnyObject) {
  return http({ url: '/api/etag/back', data })
}
//删除媒体数据
export function woundedDelete(data: AnyObject) {
  return http({ url: '/api/cfiles/deleteBatch', data })
}
//新增媒体数据
export function woundedMediaAdd(data: AnyObject) {
  return http({ url: '/api/cfiles/save', data })
}
//查询媒体数据
export function woundedMediaFind(data: AnyObject) {
  return http({ url: '/api/cfiles/list', data })
}
//扫描码新增伤票信息并查询
export function woundedScan(data: AnyObject) {
  return http({ url: '/api/etag/scanETag', data })
}
